/*
 * @Description: 
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2021-11-29 14:25:31
 * @LastEditTime: 2021-11-29 15:58:38
 */
import Vue from "vue";
import VueRouter from "vue-router";
import navlist from "../views/navlist.vue";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "navlist",
    component: navlist,
  },
  {
    path: "/View1",
    name: "View1",
    component: () =>
      import("../components/View1"),
  },
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
